package com.weigang.mybatisplus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.weigang.mybatisplus.entity.HrUserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface HrUserMapper extends BaseMapper<HrUserEntity> {

    //获取用户列表
    List<HrUserEntity> selectAllUser();

    List<HrUserEntity> getPageUsers(@Param("page") Page<HrUserEntity> page);
}

